Recoverable user-level mutual exclusion

نویسندگان

  • Philip Bohannon
  • Daniel F. Lieuwen
  • Abraham Silberschatz
  • S. Sudarshan
  • J. Gava
چکیده

Mutual exclusion primitives based on user-level atomic instructions (often called spin locks) have proven to be much more eecient than operating-system semaphores in situations where the contention on the semaphore is low. However, many of these spin lock schemes do not permit registration of ownership to be carried out atomically with acquisition, potentially leaving the ownership undetermined if a process dies (or makes very slow progress) at a critical point in the registration code. We present an algorithm which can ensure the successful registration of ownership of a spin lock, regardless of where processes fail. Thus, our spin lock implementation is`recoverable'. The determination of a spin lock's ownership can potentially be used to restore resources protected by the spin lock to consistency and then release the spin lock. Other processes using the lock can then continue to function normally, improving fault resiliency for the application. Our algorithm provides very fast lock acquisition when the acquisition is uncontested (comparable in speed to a simple test-and-set based spin lock), and we prove it works even on the weak memory consistency models implemented by many modern multiprocessor computer systems .

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

RGLock: Recoverable Mutual Exclusion for Non-Volatile Main Memory Systems

....................................................................................................................................................... iii Acknowledgements ...................................................................................................................................... iv Dedication ..............................................................................

متن کامل

An Implementation of User-level Restartable Atomic Sequences on the NetBSD Operating System

This paper outlines an implementation of restartable atomic sequences on the NetBSD operating system as a mechanism for implementing atomic operations in a mutual-exclusion facility on uniprocessor systems. Kernel-level and user-level interfaces are discussed along with implementation details. Issues associated with protecting restartable atomic sequences from violation are considered. The perf...

متن کامل

ParaStation User Level Communication

PULC (ParaStation User Level Communication) is a user-level communication library for workstation clusters. PULC provides a multiuser , multi-programming communication library for user-level communication on top of high-speed communication hardware. This paper describes the design of the communication subsystem, a rst implementation on top of the ParaStation communication adapter, and benchmark...

متن کامل

PULC: ParaStation User-Level Communication. Design and Overview

PULC is a user-level communication library for workstation clusters. PULC provides a multi-user, multi-programming communication library for user level communication on top of high-speed communication hardware. In this paper, we describe the design of the communication subsystem, a rst implementation on top of the ParaStation communication card, and benchmark results of this rst implementation....

متن کامل

Technical Report: KSU-CIS-TR-2011-2 MUTUAL EXCLUSION IN CYBER-PHYSICAL SYSTEMS

Distributed computing problems such as mutual exclusion have been studied extensively for traditional distributed systems. In traditional systems, a strict layered approach is taken wherein a set of users (application processes) U1, . . . ,Un is layered on top of a mutual exclusion algorithm with processes P1, . . . ,Pn. User Ui interacts with process Pi to request access to resources which are...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995